@if (count($errors) > 0)
    <!-- Form Error List -->
            @foreach ($errors->all() as $error)
            @endforeach
	<script type="text/javascript">
        $(function () {
            var content="{{$error}}";
            $('#login .error').show().html(content);
        });
    </script>
@endif
